package model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


/**
 * Get Started!
 * @author team@getstarted.com.ua
 */
public class Rental implements Serializable {
	private static final long serialVersionUID = 7631715626468205590L;
	private int id;
    private String name;
    private String thumb;
    private List<String> pictures;
    private int bedrooms;
    private int bathroom;
    private float rating;
    private String price_min;
    private String price_max;
    private String curency;
    private String unit;
	
	
	public Rental() {}

	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getThumb() {
		return thumb;
	}


	public void setThumb(String thumb) {
		this.thumb = thumb;
	}

	public List<String> getPictures() {
		if(pictures == null) {
			pictures = new ArrayList<String>();
		}
		return pictures;
	}
	
	public int getBedrooms() {
		return bedrooms;
	}


	public void setBedrooms(int bedrooms) {
		this.bedrooms = bedrooms;
	}


	public int getBathroom() {
		return bathroom;
	}


	public void setBathroom(int bathroom) {
		this.bathroom = bathroom;
	}


	public float getRating() {
		return rating;
	}


	public void setRating(float rating) {
		this.rating = rating;
	}


	public String getPrice_min() {
		return price_min;
	}


	public void setPrice_min(String priceMin) {
		price_min = priceMin;
	}


	public String getPrice_max() {
		return price_max;
	}


	public void setPrice_max(String priceMax) {
		price_max = priceMax;
	}


	public String getCurency() {
		return curency;
	}


	public void setCurency(String curency) {
		this.curency = curency;
	}


	public String getUnit() {
		return unit;
	}


	public void setUnit(String unit) {
		this.unit = unit;
	}

}
